# -*- coding: utf-8 -*-

# Form implementation generated from reading ui file 'test.ui'
#
# Created: Thu Jan  9 08:46:26 2014
#      by: PyQt4 UI code generator 4.8.3
#
# WARNING! All changes made in this file will be lost!

from PyQt4 import QtCore, QtGui

try:
    _fromUtf8 = QtCore.QString.fromUtf8
except AttributeError:
    _fromUtf8 = lambda s: s


def ShowAbout(iface):
    dlg = AboutDialog(iface)
    dlg.exec_()
    return

def ToUTF(s1, s2):
    return QtGui.QApplication.translate(s1, s2, None, QtGui.QApplication.UnicodeUTF8)

class AboutDialog(QtGui.QDialog):
    iface = None

    def __init__(self, iface):
        QtGui.QDialog.__init__(self)

        self.iface = iface
        self.resize(400, 67)
        self.setSizePolicy(QtGui.QSizePolicy())
        self.setMinimumSize(QtCore.QSize(400, 67))
        self.setMaximumSize(QtCore.QSize(400, 67))
        self.pushButton = QtGui.QPushButton(self)
        self.pushButton.setGeometry(QtCore.QRect(110, 30, 171, 32))
        self.label = QtGui.QLabel(self)
        self.label.setGeometry(QtCore.QRect(110, 10, 201, 16))

        self.retranslateUi()
        QtCore.QObject.connect(self.pushButton, QtCore.SIGNAL(_fromUtf8("pressed()")), self.Ok_clicked)
        QtCore.QMetaObject.connectSlotsByName(self)

    def retranslateUi(self):
        self.setWindowTitle(QtGui.QApplication.translate("About dialog", "About Landax"))
        self.label.setText(QtGui.QApplication.translate("About dialog", "Landax rev XXX:XXX"))
        self.pushButton.setText(QtGui.QApplication.translate("About dialog", "Close"))

    def Ok_clicked(self):
        self.close()
        return


